package com.cn.ahuniversity.service.impl;

import com.cn.ahuniversity.dao.DemoDao;
import com.cn.ahuniversity.entity.Dnainformation;
import com.cn.ahuniversity.service.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class DemoServiceImpl implements DemoService {

    @Autowired
    private DemoDao demoDao;
    @Override
    public List<Dnainformation> find() {
        List<Dnainformation> list= demoDao.find();
        return list;
    }
}
